function showschool(name, school) {
	switch (name) 
    {
        case "Suzhou university" :
            var schooloptions = new Array(
            "College of computer science and technology","Kenneth wang school of law","Wu school of business","School of medicine");
        break;
        case "Southeast university" :
            var schooloptions = new Array(
            "School of architecture","School of mechanical engineering","Institute of energy and environment","College of computer science and engineering");
        break;
        case "Nanjing university" :
            var schooloptions = new Array(
            "The faculty of arts","School of business","school of software","Computer science and technology department");
        break;
        default:
            var schooloptions = new Array("");
        break;
    }

    school.options.length = 0;    
    for(var i = 0; i < schooloptions.length; i++)
    {
        school.options[i]=new Option(schooloptions[i],schooloptions[i]);
    }
}

